package com.gxar.quick.ar.server.base.async.exchange.event;

import com.gxar.common.entity.login.UserProfile;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/4/18 09:14
 */
@Getter
public class AutoExchangeEvent extends ApplicationEvent {

    private static final long serialVersionUID = -1364426373111626825L;

    private final UserProfile userProfile;
    private final String code;

    public AutoExchangeEvent(Object source, UserProfile userProfile, String code) {
        super(source);
        this.userProfile = userProfile;
        this.code = code;
    }
}
